package com.notice.common;

public class Constants {
    public static final class ErrorCodes {
        public static final int SUCCESS = 200;
        public static final int LOGIN_FAIL = 601;
        public static final int DELETE_FAIL = 602;
        public static final int UPDATE_FAIL = 603;
        public static final int UPLOAD_FAIL = 605;
    }

    public static final class Messages {
        public static final String LOGIN_FAIL = "登录失败，用户名或密码错误";
        public static final String USER_EXISTS = "该账号已经存在";
        public static final String USER_NOT_EXISTS = "该账号不存在";
        public static final String UPDATE_FAIL = "更新失败";
        public static final String OPERATION_FAIL = "操作失败";
        public static final String UPLOAD_FAIL = "上传失败";
    }
} 